package com.loong.nnm.entity.performance;

public class Performance {

    private String objectName;
    private String objectType;
    private String granularity;
    private String pmParameterName;
    private int digitalPmValue;

    private static class AnalogPmValue {
        private int maxValue;
        private int minValue;
        private int averageValue;
        private int currentValue;

        public int getMaxValue() {
            return maxValue;
        }

        public void setMaxValue(int maxValue) {
            this.maxValue = maxValue;
        }

        public int getMinValue() {
            return minValue;
        }

        public void setMinValue(int minValue) {
            this.minValue = minValue;
        }

        public int getAverageValue() {
            return averageValue;
        }

        public void setAverageValue(int averageValue) {
            this.averageValue = averageValue;
        }

        public int getCurrentValue() {
            return currentValue;
        }

        public void setCurrentValue(int currentValue) {
            this.currentValue = currentValue;
        }
    }

    private AnalogPmValue analogPmValue;

    private String startTime;

    @Override
    public String toString() {
        return "Performance{" +
                "objectName='" + objectName + '\'' +
                ", objectType='" + objectType + '\'' +
                ", granularity='" + granularity + '\'' +
                ", pmParameterName='" + pmParameterName + '\'' +
                ", digitalPmValue=" + digitalPmValue +
                ", analogPmValue=" + analogPmValue +
                ", startTime='" + startTime + '\'' +
                '}';
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public String getGranularity() {
        return granularity;
    }

    public void setGranularity(String granularity) {
        this.granularity = granularity;
    }

    public String getPmParameterName() {
        return pmParameterName;
    }

    public void setPmParameterName(String pmParameterName) {
        this.pmParameterName = pmParameterName;
    }

    public int getDigitalPmValue() {
        return digitalPmValue;
    }

    public void setDigitalPmValue(int digitalPmValue) {
        this.digitalPmValue = digitalPmValue;
    }

    public AnalogPmValue getAnalogPmValue() {
        return analogPmValue;
    }

    public void setAnalogPmValue(AnalogPmValue analogPmValue) {
        this.analogPmValue = analogPmValue;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }
}
